<?php
header('Content-type: application/octet-stream');
$files=glob($folder.'/picture_original/'.$_GET['id'].'.*');
header('Content-Disposition:inline; filename="'.basename($files[0]).'"');
readfile($files[0]);
die();
?>